package chapter1.fundamentals.exercise;

/**
 * @author quanlinlin on 2018/10/26 11:18.
 * @version 1.0
 */
public class E_16 {

    public static void main(String[] args) {
        System.out.println(exR1(6));
    }

    private static String exR1(int n) {
        if (n <= 0) {
            return "";
        }
        return n + n + exR1(n - 3) + exR1(n - 2);
    }
}
